<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
<?php
# $Id:
  global $config;
  echo $config['title'];
  ?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript" src="<?=WEB_MODULE_DIR?>js/setpointer.js" type="text/javascript"></script>
<script language="javascript" src="<?=WEB_MODULE_DIR?>js/JSCookMenu.js" type="text/javascript"></script>
<script language="javascript" src="<?=WEB_MODULE_DIR?>ThemeOffice/theme.js" type="text/javascript"></script>
<script language="javascript" src="<?=WEB_MODULE_DIR?>js/menu.js" type="text/javascript"></script>
<script language="javascript" src="<?=WEB_MODULE_DIR?>js/dateformat.js" type="text/javascript"></script>
<script language="javascript" src="<?=WEB_MODULE_DIR?>js/calendar.js" type="text/javascript"></script>
<script language="javascript" src="<?=WEB_MODULE_DIR?>js/wufoo2.js" type="text/javascript"></script>
<script language="javascript" src="<?=WEB_MODULE_DIR?>js/common.js" type="text/javascript"></script>
<script language="javascript" src="<?=WEB_MODULE_DIR?>js/mootools-release-1.11.js" type="text/javascript"></script>
<script language="javascript" src="<?=WEB_MODULE_DIR?>js/includes.js" type="text/javascript"></script>
<script language="javascript" src="<?=WEB_MODULE_DIR?>js/tabber.js" type="text/javascript"></script>
<script language="javascript" src="<?=WEB_MODULE_DIR?>js/order.js" type="text/javascript"></script>
<script language="javascript" src="<?=WEB_MODULE_DIR?>js/overlib_mini.js" type="text/javascript"></script>
<script language="javascript" src="<?=WEB_MODULE_DIR?>js/tabs/tabpane_mini.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" media="all" href="<?=WEB_MODULE_DIR?>css/jscalendar/calendar-blue.css" title="blue" />
<link rel="stylesheet" href="<?=WEB_MODULE_DIR?>css/tabpane.css" type="text/css">
<link rel="stylesheet" href="<?=WEB_MODULE_DIR?>css/style2.css" type="text/css">
<link rel="stylesheet" href="<?=WEB_MODULE_DIR?>css/example.css" type="text/css">
<link rel="stylesheet" href="<?=WEB_MODULE_DIR?>css/admin_login.css" type="text/css">
<link rel="stylesheet" href="<?=WEB_MODULE_DIR?>css/template_css.css" type="text/css">
<link rel="stylesheet" href="<?=WEB_MODULE_DIR?>css/calendar2.css" type="text/css"/>
<link rel="stylesheet" href="<?=WEB_MODULE_DIR?>css/form2.css" type="text/css">
<link rel="stylesheet" href="<?=WEB_MODULE_DIR?>ThemeOffice/theme.css" type="text/css">

<!--<link rel="stylesheet" href="<?=WEB_MODULE_DIR?>css/structure2.css" type="text/css" />-->
<!--<link rel="stylesheet" href="<?=WEB_MODULE_DIR?>css/form2.css" type="text/css" />-->
<!--<link rel="stylesheet" href="<?=WEB_MODULE_DIR?>css/theme2.css" type="text/css" />-->
<style>
span._check {
   font-size: 8px;
   color: #cc0000;
}
</style>

</head>

<!--<body class="bodyimage">-->
<body>
<!-- HEADER -->
<!--<div id="wrapper">
    <div id="header">
        <div id="jollibee">
            <img src="<?=WEB_MODULE_DIR?>images/head6.png">
        </div>
    </div>
</div>-->
<div id="border-top" class="h_green">
<!--<div id="border-top" class="h_teal">-->
  <div>
    <div>
      <span class="title">Advance World Wide I.T. Solution</span>
    </div>
  </div>
</div>

<!-- SYSTEM MENU -->
<table width="100%" class="menubar" cellpadding="0" cellspacing="0" border="0">
    <tr>
        <td class="menubackgr" style="padding-left:5px;">
            <div id="myMenuID"></div>
            <script language="javascript" type="text/javascript">
                cmDraw ('myMenuID', myMenu3, 'hbr', cmThemeOffice, 'ThemeOffice');
            </script>
        </td>
        <td class="menubackgr" style="padding-right:5px" align="right">
            <?php
              require_once(APP_LIB_DIR . 'LoginModel.class.php');
              $lm = new LoginModel('header');
              $auth = $user->getAttribute('auth');
              $who = $lm->check_online_users();
             ?>
            <div id="wrapper1">
                <div>
                    <?=$who[0][0]?>&nbsp;<img src="<?=WEB_MODULE_DIR?>images/users.png" valign="middle" border="0"></a>
                </div>
            </div>
        </td>
        <td class="menubackgr" align="right" style="padding-right:5px;">
            <a href="?module=<?=DEFAULT_MODULE?>&action=Logout" style="color: #333333; font-weight: bold">Logout</a>
            <?php
                $auth = $user->getAttribute('auth');
                echo "<b>" . strtoupper($auth['username']) . "</b>";
            ?>
        </td>
    </tr>
</table>
<!--<p id="mymsg"></p>-->

